import Vue from 'vue'
import App from './App.vue'
import router from './router'

import './assets/styles/index.scss'

// Vue.config.productionTip = false

let vm = new Vue({
  render: h => {
    const result = h(App)
    console.log('h:', h);
    console.log('result:', result);
    return result
  },
  data() {
    return {
      haha: 'haha1'
    }
  },
  created() {
    console.log('生命周期函数');
  },
  methods: {
    handleMethod() {
      console.log('hahaha');
    }
  },
  router
})
vm.$mount('#app')

console.log('vm:', vm)